﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ULevel_QueueName.aspx.cs"
    Inherits="Jy123.Web.Manage.ULevel_QueueName" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>管理组件升级条件字段</title>
    <link href="css/custom/jquery.ui.css" rel="stylesheet" type="text/css" />
    <link href="css/main.css" rel="stylesheet" type="text/css" />

    <script src="js/jquery.js" type="text/javascript"></script>

    <script src="js/jquery.ui.js" type="text/javascript"></script>

    <script src="js/main.js" type="text/javascript"></script>

</head>
<body>
    <h4>
        <a href="#"><span>组件升级条件字段管理</span></a></h4>
    <form id="managequeueNameForm" runat="server">
    <div class="register">
        <ul class="bb fl">
            <li>
                <asp:Repeater ID="queueNameRepeater" runat="server" Visible="false" OnItemDataBound="Repeater_DataBound"
                    OnItemCommand="Repeater_Command">
                    <HeaderTemplate>
                        <table class="tblist">
                            <tr>
                                <th>
                                    条件名称
                                </th>
                                <th>
                                    对应字段
                                </th>
                                <th>
                                </th>
                            </tr>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <tr>
                            <td>
                                <asp:HiddenField ID="idHidden" runat="server" />
                                <asp:Label ID="cNameLabel" runat="server"></asp:Label>
                            </td>
                            <td>
                                <asp:Label ID="queueNameLabel" runat="server"></asp:Label>
                            </td>
                            <td>
                                <asp:Button ID="EditButton" runat="server" CssClass="button" CausesValidation="false"
                                    CommandName="Edit" Text="修改" />
                                <asp:Button ID="DeleteButton" runat="server" CssClass="button" CausesValidation="false"
                                    CommandName="Delete" Text="删除" OnClientClick="return confirm('确定删除？')" />
                            </td>
                        </tr>
                    </ItemTemplate>
                    <FooterTemplate>
                        </table>
                    </FooterTemplate>
                </asp:Repeater>
            </li>
        </ul>
        <h5>
            条件名称
        </h5>
        <ul class="bb fl">
            <li>
                <asp:TextBox ID="cNameTextBox" runat="server" MaxLength="20" CssClass="text"></asp:TextBox>
            </li>
            <li>
                <asp:RequiredFieldValidator ID="queueNameRequired" CssClass="warning" runat="server"
                    ControlToValidate="cNameTextBox" ErrorMessage="请填写条件名称" Display="Dynamic" ForeColor=""></asp:RequiredFieldValidator>
            </li>
        </ul>
        <h5>
            对应字段
        </h5>
        <ul class="bb fl">
            <li>
                <asp:TextBox ID="queueNameTextBox" runat="server" MaxLength="20" CssClass="text"></asp:TextBox>
            </li>
            <li>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" CssClass="warning" runat="server"
                    ControlToValidate="queueNameTextBox" ErrorMessage="请填写说明名称" Display="Dynamic"
                    ForeColor=""></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="queueNameRegular" runat="server" CssClass="warning"
                    ControlToValidate="queueNameTextBox" ValidationExpression="([a-z]|[A-Z]|_)*"
                    Display="Dynamic" ForeColor="" ErrorMessage="请对照数据库表字段填写"></asp:RegularExpressionValidator>
            </li>
        </ul>
        <ul class="bb">
            <li>
                <asp:HiddenField ID="actionTypeHidden" runat="server" Value="Add" />
                <asp:HiddenField ID="idHidden" runat="server" />
                <asp:Button ID="SaveButton" runat="server" CssClass="button" Text="保存" OnClick="Save" />
            </li>
        </ul>
    </div>
    </form>
</body>
</html>
